package test.design_pattern.observer;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

@Data
public class OrderEvent extends ApplicationEvent {

    private Order order ;

    public OrderEvent(Object source,Order order) {
        super(source);
        this.order = order;
    }
}
